﻿using System;
using System.ComponentModel;

namespace zijian666.WebApi.Attributes
{
    /// <summary>
    /// 配置类特性,自动加载到服务
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
    public sealed class ConfigurationSectionAttribute : CategoryAttribute
    {
        /// <summary>
        /// 默认构造函数
        /// </summary>
        /// <param name="category">配置前缀或组</param>
        public ConfigurationSectionAttribute(string category) : base(category)
        {
        }
    }
}
